package base;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.widget.Toast;

/**
 * Created by ysbang on 2015/5/29.
 */
public class BaseActivity extends FragmentActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    public void toast(String text)
    {
        toast(text,Toast.LENGTH_LONG);
    }

    public void toast(String text,int ms){
        Toast.makeText(getApplicationContext(), text, ms);
    }
}
